<?php


namespace app\common\tools;


class ApiRequestInfo
{
    use Instance;

    private $device;
    private $device_type;
    private $device_width;
    private $device_height;
    private $lang;
    private $req_time;
    private $access_token;
    private $sys_version;
    private $uuid;
    private $app_version = 100;

    public function getUuid()
    {
        return $this->uuid;
    }

    /**
     * @return mixed
     * @author 刘宏盟
     */
    public function getDevice()
    {
        return $this->device;
    }

    /**
     * @param mixed $device
     * @author 刘宏盟
     */
    public function setDevice($device): void
    {
        $this->device = $device;
    }

    /**
     * @return mixed
     * @author 刘宏盟
     */
    public function getDeviceType()
    {
        return $this->device_type;
    }

    /**
     * @param mixed $device_type
     * @author 刘宏盟
     */
    public function setDeviceType($device_type): void
    {
        $this->device_type = $device_type;
    }

    /**
     * @return mixed
     * @author 刘宏盟
     */
    public function getDeviceWidth()
    {
        return $this->device_width;
    }

    /**
     * @param mixed $device_width
     * @author 刘宏盟
     */
    public function setDeviceWidth($device_width): void
    {
        $this->device_width = $device_width;
    }

    /**
     * @return mixed
     * @author 刘宏盟
     */
    public function getDeviceHeight()
    {
        return $this->device_height;
    }

    /**
     * @param mixed $device_height
     * @author 刘宏盟
     */
    public function setDeviceHeight($device_height): void
    {
        $this->device_height = $device_height;
    }

    /**
     * @return mixed
     * @author 刘宏盟
     */
    public function getLang()
    {
        return $this->lang;
    }

    /**
     * @param mixed $lang
     * @author 刘宏盟
     */
    public function setLang($lang): void
    {
        $this->lang = $lang;
    }

    /**
     * @return mixed
     * @author 刘宏盟
     */
    public function getReqTime()
    {
        return $this->req_time;
    }

    /**
     * @param mixed $req_time
     * @author 刘宏盟
     */
    public function setReqTime($req_time): void
    {
        $this->req_time = $req_time;
    }

    /**
     * @return mixed
     * @author 刘宏盟
     */
    public function getAccessToken()
    {
        return $this->access_token;
    }

    /**
     * @param mixed $access_token
     * @author 刘宏盟
     */
    public function setAccessToken($access_token): void
    {
        $this->access_token = $access_token;
    }

    /**
     * @return mixed
     * @author 刘宏盟
     */
    public function getSysVersion()
    {
        return $this->sys_version;
    }

    /**
     * @param mixed $sys_version
     * @author 刘宏盟
     */
    public function setSysVersion($sys_version): void
    {
        $this->sys_version = $sys_version;
    }

    /**
     * @param mixed $uuid
     */
    public function setUuid($uuid): void
    {
        $this->uuid = $uuid;
    }

    /**
     * @return mixed
     */
    public function getAppVersion()
    {
        return $this->app_version;
    }

    /**
     * @param mixed $app_version
     */
    public function setAppVersion($app_version): void
    {
        $this->app_version = $app_version;
    }
}
